
export default {
    namespaced:true,
    state:{
       readers:[
        {
            id:"r01001",
            name:"李晨光"
        },
        {
            id:"r01002",
            name:"田宝"
        }
       ] 
    },
    mutations:{
        mAddReader(state,payload){
            state.readers.push(payload.data);
        }
    }
}